import http from "@/utils/request"

export default {
	token: {
		url: `/login/token`,
		name: "用户登陆",
		post: async function (data = {}) {
			return await http.post(this.url, data);
		}
	},
	menus: {
		url: `/login/menus`,
		name: "用户菜单",
		get: async function () {
			return await http.get(this.url);
		}
	},
	ver: {
		url: `/login/ver`,
		name: "系统版本",
		get: async function (params) {
			return await http.get(this.url, params);
		}
	},
}